package com.javasearch;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class Config {
    private  String projectPath;
    private  Index index;
    private  Search search;

    @Data
    @ToString
    public static class  Index{
        private boolean activate;
        private boolean refresh;
        private boolean jar;
        private boolean jarSource;
        private boolean javaFile;
        private boolean javaClass;
        private boolean pom;
        private String mavenLibraryPath;
    }
    @Data
    @ToString
    public static class Search{
        private boolean activate;
        private String  searchKey;
        private String searchPath;
        private  Integer searchLimit;
    }


}
